-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release-4.17] no-jira: Collect bootstrap logs when control plane provisioning fails #9308
[release-4.17] no-jira: Collect bootstrap logs when control plane provisioning fails #9308
Conversation
Adds a ControlPlaneCreation error that is returned on all non-baremetal platforms when control plane machines fail to provision so that we can parse the error and gather logs when appropriate.
Creates a function for gathering and analyzing bootstrap logs so that it can be reused.
Gathers and analyzes bootstrap logs on provisioning failure. This will help gather serial console & other logs during provisioning failures. Prior to this change. gathering only happened if infra provisioning succeeded but we can gather more logs to help us understand provisioning failures.
Wraps control plane provisioning errors on baremetal IPI with the ControlPlaneCreationError so that gather bootstrap will run automatically in that case.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: patrickdillon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@openshift-cherrypick-robot: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/label cherry-pick-approved |
6e3f5e3
into
openshift:release-4.17
[ART PR BUILD NOTIFIER] Distgit: ose-installer-altinfra |
[ART PR BUILD NOTIFIER] Distgit: ose-installer-terraform-providers |
[ART PR BUILD NOTIFIER] Distgit: ose-baremetal-installer |
[ART PR BUILD NOTIFIER] Distgit: ose-installer-artifacts |
This is an automated cherry-pick of #9123
/assign patrickdillon